home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-11-17 | 1.9 KB | 59 lines | [TEXT/GEOL] |
- Item forwarded by A33 to A34
-
- Item 0893673 10-Nov-89 18:45
-
- From: MOOF Rollin, Keith A
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: Re- GridView restrictions
-
- Attn: Bianchi, Curt
- SentBy: Keith Rollin
- Reply to: Re: GridView restrictions
- Dan, Curt,
-
- There IS a problem with converting TGridView to have more than 32K rows and
- columns. This has to do with the way the currently highlighted cells are kept
- track of. They are mapped into a QuickDraw region, with each point in the
- region corresponding to a highlighted cell. Since QuickDraw regions are
- limited to 16 bit coordinates, you would have a hard time expanding this to
- longints.
-
- You COULD double the size of TGridView with a little judicious translating,
- however. See what you can do about taking the negative values of cell
- coordinates and region points, and mapping them into the 32K-64K range.
-
- - Keith Rollin
- - Apple Developer Technical Support
-
- --------------------------------------
- Date: 11/10/89
- To: Keith Rollin
- From: Bianchi, Curt
- Item 5999939 10-Nov-89 18:11
-
- From: BIANCHI1 Bianchi, Curt
-
- To: SW0075 SWV VTS Transportation Systems, GBG
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re: GridView restrictions
-
- Hi Dan,
-
- I don't believe there is anything in the design of gridviews that would
- prevent it from being expanded to >32,767 rows or columns. Mostly, it's a
- matter of changing the row/column indexes from integers to longints. This
- would also apply to the TRunArray class in the gridview unit, as it maintains
- the row and column heights. What I would do is to make a copy of MacApp's
- GridView and turn it into a 32-bit version. Unfortunately you can't do this
- as a subclass of TGridView as it has the 16-bit row/column indices built into
- it.
-
- Curt Bianchi
- Apple Computer
-
-
-